/*
Sqrt(x)
Implement int sqrt(int x).

Compute and return the square root of x.
*/
#include <iostream>
#include <algorithm>
#include <vector>
#include <math.h>

using namespace std;

class Solution {
public:
    int mySqrt(int x) {
        return sqrt(x);
    }
};

int main()
{
	int n;
	cout<<"Minimum Path Sum"<<endl;
	cin>>n;
	
	
	
	Solution s;
	int result = s.mySqrt(n);
	cout<<result<<endl;
	
	return 0;
}

